home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / pc / CONTRSRC.ZIP / SRC / WAVES / VIDEO.INC < prev    next >
Encoding:
Text File  |  1980-07-19  |  2.2 KB  |  60 lines

  1. ;**********************************
  2. ;* FLamoot VGA SetUp include file *
  3. ;**********************************
  4.  
  5. EXTRN _SetVGA: FAR
  6.  
  7. ;*** GFX-mode structure *** 
  8.  
  9. mode RECORD hgh:5, ver:3, hor:3, col:2, adr:2
  10. ;
  11. ; rem:   hgh = line doubling factor
  12. ;        ver = 0 --> 350 lines display     hor = 0 --> 128 horiz width
  13. ;              1     400 big                     1     160
  14. ;              2     400                         2     180
  15. ;              3     400 60hz                    3     256
  16. ;              4     448                         4     320
  17. ;              5     480                         5     360
  18. ;              6     512                         
  19. ;              7     540
  20. ;        col = 0 --> 256 colors display    adr = 0 --> planar scheme (X-mode)
  21. ;              1     16                          1 --> chained
  22. ;              2     4                           2 --> cga
  23. ;              3     text 16                     3 --> mono
  24. ;
  25. ; PS: if you choose a 16 colors display, the horiz width is doubled !!!!!
  26.  
  27. ; predefined modes ....
  28. ;-----------------------
  29. m160x67x256c      EQU mode<5,2,1,0,1>  ; 7-mode like
  30. m160x70x256c      EQU mode<4,0,1,0,1>  ; 7-mode like
  31. m160x80x256c      EQU mode<4,2,1,0,1>  ; 7-mode like
  32. m160x100x256c     EQU mode<3,2,1,0,1>  ; 7-mode
  33. m160x200x256p60hz EQU mode<1,3,1,0,0>  ; 7-mode like
  34. m320x67x256c      EQU mode<5,2,4,0,1>
  35. m320x70x256c      EQU mode<4,0,4,0,1>
  36. m320x80x256c      EQU mode<4,2,4,0,1>
  37. m320x100x256c     EQU mode<3,2,4,0,1>
  38. m320x200x256c     EQU mode<1,2,4,0,1>
  39. m320x200x256c60hz EQU mode<1,3,4,0,1>
  40. m320x200x256p60hz EQU mode<1,3,4,0,0>
  41. m320x400x256p     EQU mode<0,2,4,0,0>
  42. m320x400x256pbig  EQU mode<0,1,4,0,0>
  43. m320x480x256p     EQU mode<0,5,4,0,0>
  44.  
  45. ;misc. examples
  46. ;--------------
  47. m320x200x256p EQU mode<1,2,4,0,0>
  48. m320x240x256p EQU mode<1,5,4,0,0>
  49. m360x480x256p EQU mode<0,5,5,0,0>
  50. m256x256x256p EQU mode<1,6,3,0,0>
  51. m320x240x16p  EQU mode<1,5,1,1,0>
  52. m640x400x16p  EQU mode<0,2,4,1,0>
  53. m512x512x16p  EQU mode<0,6,3,1,0>
  54. m720x480x16p  EQU mode<0,5,5,1,0>
  55.  
  56. m320x400x256c EQU mode<0,2,4,0,1>
  57. m320x480x256c EQU mode<0,5,4,0,1>
  58. m320x448x256c EQU mode<0,4,4,0,1>
  59. m256x256x256c EQU mode<1,6,3,0,1>
  60.